export default class {
    constructor({
        el
    }) {
        this.layer = layui.layer;
        this.element = layui.element;
        this.el = el;
        Promise.resolve().then(()=>this.init())
    }
    init() {
        this.$el = $(this.el);
        this.render();
        this.handle();
        // 获取远程数据  结构已经初始化完成 
        this.mounted()
        // this.rerender();
    }
    render() {}
    handle() {}
    // 挂载
    mounted() {}

}